projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c38991
)
entry: Ensure we unset the magnifier widget on ::destroy
author
Carlos Garnacho
<carlosg@gnome.org>
Fri, 12 Jun 2015 11:30:34 +0000
(13:30 +0200)
committer
Carlos Garnacho
<carlosg@gnome.org>
Fri, 12 Jun 2015 11:33:13 +0000
(13:33 +0200)
Otherwise there's dangling signal handlers which cause warnings
at the time we attempt to disconnect these.
gtk/gtkentry.c
patch
|
blob
|
history
diff --git
a/gtk/gtkentry.c
b/gtk/gtkentry.c
index 61c3ba48234868f31f0972eb2d0e2e80e0ce0527..4865e96e9e6f6bc068d5eb835dcb926f9b68d01c 100644
(file)
--- a/
gtk/gtkentry.c
+++ b/
gtk/gtkentry.c
@@
-2965,6
+2965,9
@@
gtk_entry_destroy (GtkWidget *widget)
priv->recompute_idle = 0;
}
+ if (priv->magnifier)
+ _gtk_magnifier_set_inspected (GTK_MAGNIFIER (priv->magnifier), NULL);
+
GTK_WIDGET_CLASS (gtk_entry_parent_class)->destroy (widget);
}